<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../css/iuapmobile.um.css">
		<link rel="stylesheet" href="../../css/font-icons.css">
		<link rel="stylesheet" href="../../css/iscroll.css" />
		<style>
			#select1_dummy, #select2_dummy, #select3_dummy, #select4_dummy, #select5_dummy {
				border: none;
				padding-left: 10px;
				color: #555;
				font-size: 17px;
				text-align: right;
				margin-right: 20px;
				width: 100%;
			}
			#select1_dummy:disabled, #select2_dummy:disabled, #select3_dummy:disabled, #select4_dummy:disabled, #select5_dummy:disabled {
				background: #fff;
			}

		</style>

		<style>
			.um-time {
				background: #ffffff;
				border-top: 1px solid #dddddd;
				border-bottom: 1px solid #dddddd;
			}
			.um-time-list {
				height: 46px;
				line-height: 46px;
			}
			.um-time-list:first-child {
				border-bottom: 1px solid #dddddd;
			}
			.um-time-txt {
				float: left;
				color: #8c8d8e;
			}
			.um-time-list .fr {
				position: relative;
				float: right;
				margin-right: 30px;
			}
			.um-time-list .fr:after {
				content: "";
				position: absolute;
				right: -15px;
				top: 15px;
				display: inline-block;
				width: 14px;
				height: 14px;
				border-right: 2px solid #8c8d8e;
				border-top: 2px solid #8c8d8e;
				-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
			}
			.um-time-list input {
				display: block;
				width: 180px;
				height: 45px;
				line-height: 45px;
				border: none;
				outline: none;
				text-align: right;
				background: #fff;
			}

		</style>
		<script src="../../js/summer.js" ></script>
		<script src="../../js/jquery.min.js" ></script>
		<script src="../../js/iscroll.js"></script>
		<script src="../../js/Frameworks/iuapmobile.frameworks.ui.js" ></script>
		<script src="https://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>

		<script>
			function $pageReady() {
				/*这里编写与原生服务相关的代码逻辑，例如对原生设备服务的调用，对网络服务的调用等*/
				//alert("Mobile Native Ready");
			}

			$(function() {

			});
		</script>
		<style>
			.self {
				padding: 0;
				margin: 0 0 0 15px
			}
			.self span {
				margin-right: 15px
			}
			.um-list-item-right img {
				width: 30%;
				height: 30%;
				padding: 5px;
			}
			.mustwrite {
				margin-left: 10px
			}
		</style>

	</head>
	<body class="f14">
		<div class="um-page" id="dis_inspected">
			<div class="um-header" >
				<a href="#" class="um-back back"> 返回</a>
				<h3>确认拆机完成</h3>
				<a class="um-header-right" onclick="TemporarySave()">暂存</a>
			</div>
			<div class="um-content" id="listview" ng-app="myApp" ng-controller="myCtrl" ng-init="azwb_mtimage='../../img/myimg/camera.png';azwb_yjimage='../../img/myimg/camera.png';azwb_jjimage='../../img/myimg/camera.png';tmtimage='../../img/myimg/camera.png';azwb_sxjwzimage1='../../img/myimg/camera.png';azwb_sxjwzimage2='../../img/myimg/camera.png';azwb_sxjwzimage3='../../img/myimg/camera.png';bdef10='../../img/myimg/camera.png';bdef11='../../img/myimg/camera.png';bdef12='../../img/myimg/camera.png';bdef13='../../img/myimg/camera.png';bdef14='../../img/myimg/camera.png';bdef15='../../img/myimg/camera.png';bdef16='../../img/myimg/camera.png';tyylicenseimage='../../img/myimg/camera.png';azwb_qdwzimage='../../img/myimg/camera.png';azwb_wljrdimage='../../img/myimg/camera.png';azwb_qgimage='../../img/myimg/camera.png';visa_image='../../img/myimg/camera.png';azwb_phxljrdimage='../../img/myimg/camera.png';azwb_sxjdyimage1='../../img/myimg/camera.png';azwb_sxjdyimage2='../../img/myimg/camera.png';azwb_sxjdyimage3='../../img/myimg/camera.png';">

				<ul class="um-list">
					<!--<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					安装日期：
					</div>
					<div class="um-list-item-right">
					<span ng-model="install_date">{{install_date}}</span>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					安装时间：
					</div>
					<div class="um-list-item-right">
					<span ng-model="installation_time">{{installation_time}}</span>
					</div>
					</div>
					</li>-->
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<div class="um-list-item-left pl15">
								提报验收日期：
							</div>
							<div class="um-list-item-right">
								<label for="install_date" style="width: 100%; height:30px;">
									<input ng-model="install_date" id="install_date" type="date" name="date" class="form-control tr" value="{{install_date}}">
								</label>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								安装完成：
							</div>
							<div class="um-list-item-right">
								<label class="um-switch2 um-box-vc ">
									<input type="checkbox" class="um-switch2" ng-model="complete_state" ng-checked="complete_state" />
									<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px;"></span> </label>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								设备编号：
							</div>
							<div class="um-list-item-right">
								<span  ng-model="equipment_no" onclick='scannerCode("equipment_no")'>{{equipment_no}}</span>
								<img type="image" id="equipment_no" onclick='scannerCode("equipment_no")' ng-src="../../img/myimg/scanner.png" class="h50 p5"/>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								MAC地址：
							</div>
							<div class="um-list-item-right">
								<span  ng-model="mac" onclick='scannerCode("mac")'>{{mac}}</span>
								<img id="mac" onclick='scannerCode("mac")' ng-src="../../img/myimg/scanner.png" class="h50 p5"/>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								ESN编号：
							</div>
							<div class="um-list-item-right">
								<span  ng-model="esn" onclick='scannerCode("esn")'>{{esn}}</span>
								<img  id="esn" onclick='scannerCode("esn")' ng-src="../../img/myimg/scanner.png" class="h50 p5"/>
							</div>
						</div>
					</li>
					<!--<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					商家名称：
					</div>
					<div class="um-list-item-right">
					<span ng-model="merchant_name">{{merchant_name}}</span>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					商家地址：
					</div>
					<div class="um-list-item-right">
					<span ng-model="merchant_address">{{merchant_address}}</span>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					点位号：
					</div>
					<div class="um-list-item-right">
					<span ng-model="point_no">{{point_no}}</span>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					合同编号：
					</div>
					<div class="um-list-item-right">
					<span ng-model="ht_no">{{ht_no}}</span>
					</div>
					</div>
					</li>-->

					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								门头照：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_mtimage" ng-model="azwb_mtimage" ng-src="{{azwb_mtimage}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								远景照：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_yjimage" ng-model="azwb_yjimage" ng-src="{{azwb_yjimage}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								近景照：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_jjimage" ng-model="azwb_jjimage" ng-src="{{azwb_jjimage}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>
					<li class="um-list-item" id="azwb_sxjwzimages1" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片1：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_sxjwzimage1" ng-model="azwb_sxjwzimage1" ng-src="{{azwb_sxjwzimage1}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="azwb_sxjwzimages2" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片2：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_sxjwzimage2" ng-model="azwb_sxjwzimage2" ng-src="{{azwb_sxjwzimage2}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="azwb_sxjwzimages3" style="display: none">
						<div class="um-list-item-inner" >
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片3：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_sxjwzimage3" ng-model="azwb_sxjwzimage3" ng-src="{{azwb_sxjwzimage3}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef10" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片4：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef10" ng-src="{{bdef10}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef11" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片5：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef11" ng-src="{{bdef11}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef12" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片6：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef12" ng-src="{{bdef12}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef13" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片7：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef13" ng-src="{{bdef13}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef14" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片8：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef14" ng-src="{{bdef14}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef15" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片9：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef15" ng-src="{{bdef15}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item" id="bdef16" style="display: none">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机位置照片10：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)"  ng-model="bdef16" ng-src="{{bdef16}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								屏取电位置：
							</div>
							<div class="um-list-item-right">
								<input ng-model="azwb_qdwz" type="text" value="{{azwb_qdwz}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								取电位置照片：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_qdwzimage" ng-model="azwb_qdwzimage" ng-src="{{azwb_qdwzimage}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								网络接入点照片：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_wljrdimage" ng-model="azwb_wljrdimage" ng-src="{{azwb_wljrdimage}}" class="h50 p5 camera"/>
							</div>

						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								是否签证：
							</div>
							<div class="um-list-item-right">
								<label class="um-switch2 um-box-vc ">
									<input type="checkbox" class="um-switch2" ng-model="visa_whether" ng-checked="visa_whether" onchange="ensconce(this)"/>
									<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px;"></span> </label>
							</div>
						</div>
					</li>
					<li class="um-list-item" id="visa_type">
						<div class="um-list-item-inner">
							<!--<span class="h pa um-box-vc um-red f20 pl5" >*</span>-->
							<div class="um-list-item-left pl15">
								签证类型：
							</div>
							<div class="um-list-item-right">
								<select id='select3' class="select">
									<option ng-repeat="r in visa_type">{{r.doc_name}}</option>
								</select>
							</div>
						</div>
					</li>
					<li class="um-list-item" id="visa_num">
						<div class="um-list-item-inner">
							<!--<span class="h pa um-box-vc um-red f20 pl5" >*</span>-->
							<div class="um-list-item-left pl15">
								签证数量：
							</div>
							<div class="um-list-item-right">
								<input id="qian" ng-model="visa_num" type="number" value="{{visa_num}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item" id="visa_images">
						<div class="um-list-item-inner">
							<!--<span class="h pa um-box-vc um-red f20 pl5" >*</span>-->
							<div class="um-list-item-left pl15">
								签证照片：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="visa_image" ng-model="visa_image" ng-src="{{visa_image}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>
					<!--<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class=" pl15">
					摄像机电源数量：
					</div>
					<div class="um-list-item-right">
					<input ng-model="azwb_sxjsl" type="number" value="{{azwb_sxjsl}}" class="form-control tr" placeholder="请填写">
					</div>
					</div>
					</li>-->
					<!--<li class="um-list-item">
					<div class="um-list-item-inner">
					<span class="h pa um-box-vc um-red f20 pl5" >*</span>
					<div class=" pl15">
					摄像机电源照片1：
					</div>
					<div class="um-list-item-right">
					<input type="image" onclick="openCamera(this)" id="azwb_sxjdyimage1" ng-model="azwb_sxjdyimage1" src="{{azwb_sxjdyimage1}}" class="h50 p5"/>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<span class="h pa um-box-vc um-red f20 pl5" >*</span>
					<div class=" pl15">
					摄像机电源照片2：
					</div>
					<div class="um-list-item-right">
					<input type="image" onclick="openCamera(this)" id="azwb_sxjdyimage2" ng-model="azwb_sxjdyimage2" src="{{azwb_sxjdyimage2}}" class="h50 p5"/>
					</div>
					</div>
					</li>
					<li class="um-list-item">
					<div class="um-list-item-inner">
					<span class="h pa um-box-vc um-red f20 pl5" >*</span>
					<div class=" pl15">
					摄像机电源照片3：
					</div>
					<div class="um-list-item-right">
					<input type="image" onclick="openCamera(this)" id="azwb_sxjdyimage3" ng-model="azwb_sxjdyimage3" src="{{azwb_sxjdyimage3}}" class="h50 p5"/>
					</div>
					</div>
					</li>-->
					<!--<li class="um-list-item">
					<div class="um-list-item-inner">
					<div class="um-list-item-left pl15">
					交换机数量：
					</div>
					<div class="um-list-item-right">
					<input ng-model="azwb_jhjsl" type="number" value="{{azwb_jhjsl}}" class="form-control tr" placeholder="请填写">
					</div>
					</div>
					</li>-->

					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								时控开机时间：
							</div>
							<div class="um-list-item-right">
								<label for="kjtime" style="width: 100%; height:30px;">
									<input ng-model="azwb_kjtime" id="kjtime" type="time" name="date" class="form-control tr" value="{{azwb_kjtime}}">
								</label>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								时控关机时间：
							</div>
							<div class="um-list-item-right">
								<label for="gjtime" style="width: 100%; height:30px;">
									<input ng-model="azwb_gjtime" id="gjtime" type="time" name="date"  class="form-control tr" value="{{azwb_gjtime}}" placeholder="请选择">
								</label>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								外网接入：
							</div>
							<div class="um-list-item-right">
								<input type="text"  id='select1_dummy' ng-model="bdef5"/>
								<select id='select1' class="select">
									<option>ADSL</option>
									<option>光纤</option>
									<option>3G</option>
									<option>商家wifi</option>
									<option>有线宽带</option>
								</select>
							</div>
						</div>
					</li>
					<li class="wifi">
						<div class="um-list-item" >
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>账号
								</div>
								<div class="um-list-item-right">
									<input type="text" id="wifi_name" class="form-control tr" placeholder="请填写" >
								</div>
							</div>
						</div>
					</li>
					<li class="wifi">
						<div class="um-list-item" >
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>密码
								</div>
								<div class="um-list-item-right">
									<input type="text" id="wifi_password" class="form-control tr" placeholder="请填写">
								</div>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								內网接入：
							</div>
							<div class="um-list-item-right">
								<input type="text"  id='select2_dummy' ng-model="azwb_nwjr"/>
								<select id='select2' class="select">
									<option>有线</option>
									<option>无线</option>
									<option>光纤</option>
									<option>电力猫</option>
								</select>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class=" pl15">
								摄像机（含支架）：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_sxj" ng-model="azwb_sxj" type="number" value="{{azwb_sxj}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								摄像机电源：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_sxjdy" ng-model="azwb_sxjdy" type="number" value="{{azwb_sxjdy}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								线上保险座：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_xsbxz" ng-model="azwb_xsbxz" type="number" value="{{azwb_xsbxz}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								POE分离器：
							</div>
							<div class="um-list-item-right">
								<input id="poe" ng-model="poe" type="number" value="{{poe}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								开关电源：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_kgdy" ng-model="azwb_kgdy" type="number" value="{{azwb_kgdy}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								漏电空开：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_ldkk" ng-model="azwb_ldkk" type="number" value="{{azwb_ldkk}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								交换机：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_jhj" ng-model="azwb_jhj" type="number" value="{{azwb_jhj}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								交换机箱：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_jx" ng-model="azwb_jx" type="number" value="{{azwb_jx}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								插排：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_cp" ng-model="azwb_cp" type="number" value="{{azwb_cp}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								二次继电器：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_ecjdq" ng-model="azwb_ecjdq" type="number" value="{{azwb_ecjdq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								有线路由器：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_yxlyq" ng-model="azwb_yxlyq" type="number" value="{{azwb_yxlyq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								无线路由器：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_wxlyq" ng-model="azwb_wxlyq" type="number" value="{{azwb_wxlyq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								路由器盒：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_lyqh" type="number" ng-model="azwb_lyqh" id="routerBox" value="{{azwb_lyqh}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								时间控制器：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_sjkzq" type="number" ng-model="azwb_sjkzq" value="{{azwb_sjkzq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								电力猫：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_dlm" type="number" ng-model="azwb_dlm" value="{{azwb_dlm}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								电力猫盒：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_dlmh" type="number" ng-model="azwb_dlmh" value="{{azwb_dlmh}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								3G网卡：
							</div>
							<div class="um-list-item-right">
								<input id="a3g" type="number" ng-model="a3g" value="{{a3g}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								光纤收发器：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_gqsfq" type="number" ng-model="azwb_gqsfq" value="{{azwb_gqsfq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								光纤熔纤盒：
							</div>
							<div class="um-list-item-right">
								<input id="azwb_gqsrqh" type="number" ng-model="azwb_gqsrqh" value="{{azwb_gqsrqh}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								光纤Modem：
							</div>
							<div class="um-list-item-right">
								<input id="modem_gq" type="number" ng-model="modem_gq" value="{{modem_gq}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								ADSL Modem：
							</div>
							<div class="um-list-item-right">
								<input id="modem_adsl" type="number" ng-model="modem_adsl" value="{{modem_adsl}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								竣工图：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_qgimage" ng-model="azwb_qgimage" ng-src="{{azwb_qgimage}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>

					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								屏后线缆接入点：
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_phxljrdimage" ng-model="azwb_phxljrdimage"  ng-src="{{azwb_phxljrdimage}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>

					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								<span>资产移交单：</span>
							</div>
							<div class="um-list-item-right">
								<img onclick="openCamera(this)" id="azwb_sxjdyimage1" ng-model="azwb_sxjdyimage1"  ng-src="{{azwb_sxjdyimage1}}" class="h50 p5 camera"/>
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								实际吊装支架数量：
							</div>
							<div class="um-list-item-right">
								<input id="bdef8" type="number" ng-model="bdef8" value="{{bdef8}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
					<li class="um-list-item">
						<div class="um-list-item-inner">
							<span class="h pa um-box-vc um-red f20 pl5" >*</span>
							<div class="um-list-item-left pl15">
								实际加长装置数量：
							</div>
							<div class="um-list-item-right">
								<input id="bdef9" type="number" ng-model="bdef9" value="{{bdef9}}" class="form-control tr" placeholder="请填写">
							</div>
						</div>
					</li>
				</ul>
				<div class="btn-group btn-group-justify">
					<button type="button" class="um-btn" onclick="submitdata();">
						完成
					</button>
				</div>

			</div>
		</div>

		<script>
		    var pageid="dis_inspected";
			$(function() {
				// var curr = new Date().getFullYear();
				var opt = {
					'date' : {
						preset : 'date'
					},
					'select' : {
						preset : 'select'
					}
				};
				$('.select').scroller('destroy').scroller($.extend(opt['select'], {
					theme : "ios7",
					mode : "scroller",
					display : "bottom",
					animate : ""
				}));
			});

			//相机打开
			var imgs = new Array();
			var changeImgobj;
			function openCamera(obj) {
				changeImgobj = obj;
				summer.openCamera({
					compressionRatio : 0.8,
					callback : function(args) {
						UM.showLoadingBar({
							text : "请稍等",
							icons : 'ti-reload',
						});
						//imgPath
						getBase64Image(args.compressImgPath, function(dat) {
							summer.openWin({
								id : "rotateImg",
								url : "html/all/rotateImg.html",
								isKeep : true,
								pageParam : {
									id : obj.id, //编号
									base64 : dat, //base64
									pageId : "shangjiatuozhan" //page ID
								}
							});
							UM.hideLoadingBar();
						}, 1);
					}
				});
			}

			function rotateBack(obj) {
				changeImgobj.src = obj.base64;
				imgs[obj.id] = obj.base64;
			}

			var data = {};

			var idlist = new Array();
			var images = new Array();
			var angularScope;
			//anglajs
			var pageParam;
			//打开当前页的参数
			var changeObj;
			//根据单号加载的数据 修改
			var bodyid;
			var pageparam;
			var timeIdex;
			var billcode;
			var selectdatas;
			var visatypearr = new Array();
			var visa_type = document.getElementById("select3");
			var azwb_wwjr = document.getElementById("select1");
			var azwb_nwjr = document.getElementById("select2");
			function getselectValue(obj) {
				return obj.options[obj.selectedIndex].value;
			}

			function toast(Msgtext) {
				UM.toast({
					title : '友情提示：',
					text : Msgtext,
					duration : 1000
				});
			}

			function getData() {
				try {
					var binddatas = {
						install_date : angularScope.install_date == null ? "" : format(angularScope.install_date, 'yyyy-MM-dd HH:mm:ss'),
						installation_time : angularScope.installation_time == null ? "" : format(timeIdex, 'yyyy-MM-dd HH:mm:ss'),
						complete_state : (angularScope.complete_state) ? "Y" : "N",
						equipment_no : angularScope.equipment_no == null ? "" : angularScope.equipment_no,
						mac : angularScope.mac == null ? "" : angularScope.mac,
						esn : angularScope.esn == null ? "" : angularScope.esn,
						merchant_name : "",
						merchant_address : "",
						point_no : "",
						ht_no : "",
						azwb_mtimage : imgs["azwb_mtimage"] == null ? "" : imgs["azwb_mtimage"],
						azwb_yjimage : imgs["azwb_yjimage"] == null ? "" : imgs["azwb_yjimage"],
						azwb_jjimage : imgs["azwb_jjimage"] == null ? "" : imgs["azwb_jjimage"],
						azwb_sxjwzimage1 : imgs["azwb_sxjwzimage1"] == null ? "" : imgs["azwb_sxjwzimage1"],
						azwb_sxjwzimage2 : imgs["azwb_sxjwzimage2"] == null ? "" : imgs["azwb_sxjwzimage2"],
						azwb_sxjwzimage3 : imgs["azwb_sxjwzimage3"] == null ? "" : imgs["azwb_sxjwzimage3"],
						bdef10 : imgs["bdef10"] == null ? "" : imgs["bdef10"],
						bdef11 : imgs["bdef11"] == null ? "" : imgs["bdef11"],
						bdef12 : imgs["bdef12"] == null ? "" : imgs["bdef12"],
						bdef13 : imgs["bdef13"] == null ? "" : imgs["bdef13"],
						bdef14 : imgs["bdef14"] == null ? "" : imgs["bdef14"],
						bdef15 : imgs["bdef15"] == null ? "" : imgs["bdef15"],
						bdef16 : imgs["bdef16"] == null ? "" : imgs["bdef16"],
						azwb_qdwz : angularScope.azwb_qdwz == null ? "" : angularScope.azwb_qdwz,
						azwb_qdwzimage : imgs["azwb_qdwzimage"] == null ? "" : imgs["azwb_qdwzimage"],
						azwb_wljrdimage : imgs["azwb_wljrdimage"] == null ? "" : imgs["azwb_wljrdimage"],
						visa_whether : (angularScope.visa_whether) ? "Y" : "N",
						visa_type : getselectValue(visa_type) == null ? "" : getpk("doc_name", getselectValue(visa_type)),
						visa_num : angularScope.visa_num == null ? "" : angularScope.visa_num,
						visa_image : imgs["visa_image"] == null ? "" : imgs["visa_image"],
						azwb_sxjdyimage1 : imgs["azwb_sxjdyimage1"] == null ? "" : imgs["azwb_sxjdyimage1"],
						azwb_sxjdyimage2 : imgs["azwb_sxjdyimage2"] == null ? "" : imgs["azwb_sxjdyimage2"],
						azwb_sxjdyimage3 : imgs["azwb_sxjdyimage3"] == null ? "" : imgs["azwb_sxjdyimage3"],
						azwb_kjtime : angularScope.azwb_kjtime == null ? "" : format(angularScope.azwb_kjtime, "yyyy-MM-dd HH:mm:ss"),
						azwb_gjtime : angularScope.azwb_gjtime == null ? "" : format(angularScope.azwb_gjtime, "yyyy-MM-dd HH:mm:ss"),
						azwb_wwjr : getselectValue(azwb_wwjr) == null ? "" : getselectValue(azwb_wwjr),
						bdef5 : getselectValue(azwb_wwjr) == null ? "" : getselectValue(azwb_wwjr),
						bdef6 : $("#wifi_name").val() == null || $("#wifi_password").val() == null ? "" : $("#wifi_name").val() + "," + $("#wifi_password").val(),
						bdef7 : getselectValue(azwb_nwjr) == null ? "" : getselectValue(azwb_nwjr),
						azwb_nwjr : getselectValue(azwb_nwjr) == null ? "" : getselectValue(azwb_nwjr),
						azwb_sxj : angularScope.azwb_sxj == null ? "" : angularScope.azwb_sxj,
						azwb_sxjdy : angularScope.azwb_sxjdy == null ? "" : angularScope.azwb_sxjdy,
						azwb_xsbxz : angularScope.azwb_xsbxz == null ? "" : angularScope.azwb_xsbxz,
						azwb_sxjsl : angularScope.azwb_sxjsl == null ? "" : angularScope.azwb_sxjsl,
						poe : angularScope.poe == null ? "" : angularScope.poe,
						azwb_kgdy : angularScope.azwb_kgdy == null ? "" : angularScope.azwb_kgdy,
						azwb_ldkk : angularScope.azwb_ldkk == null ? "" : angularScope.azwb_ldkk,
						azwb_jhj : angularScope.azwb_jhj == null ? "" : angularScope.azwb_jhj,
						azwb_jx : angularScope.azwb_jx == null ? "" : angularScope.azwb_jx,
						azwb_cp : angularScope.azwb_cp == null ? "" : angularScope.azwb_cp,
						azwb_ecjdq : angularScope.azwb_ecjdq == null ? "" : angularScope.azwb_ecjdq,
						azwb_yxlyq : angularScope.azwb_yxlyq == null ? "" : angularScope.azwb_yxlyq,
						azwb_wxlyq : angularScope.azwb_wxlyq == null ? "" : angularScope.azwb_wxlyq,
						azwb_lyqh : angularScope.azwb_lyqh == null ? "" : angularScope.azwb_lyqh,
						azwb_sjkzq : angularScope.azwb_sjkzq == null ? "" : angularScope.azwb_sjkzq,
						azwb_dlm : angularScope.azwb_dlm == null ? "" : angularScope.azwb_dlm,
						azwb_dlmh : angularScope.azwb_dlmh == null ? "" : angularScope.azwb_dlmh,
						"3g" : angularScope.a3g == null ? "" : angularScope.a3g,
						azwb_gqsfq : angularScope.azwb_gqsfq == null ? "" : angularScope.azwb_gqsfq,
						azwb_gqsrqh : angularScope.azwb_gqsrqh == null ? "" : angularScope.azwb_gqsrqh,
						azwb_jhjsl : angularScope.azwb_jhjsl == null ? "" : angularScope.azwb_jhjsl,
						modem_gq : angularScope.modem_gq == null ? "" : angularScope.modem_gq,
						modem_adsl : angularScope.modem_adsl == null ? "" : angularScope.modem_adsl,
						bdef8 : angularScope.bdef8 == null ? "" : angularScope.bdef8,
						bdef9 : angularScope.bdef9 == null ? "" : angularScope.bdef9,
						azwb_qgimage : imgs["azwb_qgimage"] == null ? "" : imgs["azwb_qgimage"],
						azwb_phxljrdimage : imgs["azwb_phxljrdimage"] == null ? "" : imgs["azwb_phxljrdimage"],
						bodyid : bodyid
					};
				} catch(e) {
					console.log(e);
				}
				return binddatas;
			}

			//提交数据
			function submitdata() {
				//字段
				/*var visa_type = document.getElementById("select3");
				 if (!angularScope.mac) {
				 toast("请重新扫描mac地址");
				 return;
				 }
				 if (!angularScope.equipment_no) {
				 toast("请重新扫描设备编号");
				 return;
				 }
				 if (!angularScope.esn) {
				 toast("请重新扫描esn编号");
				 return;
				 }
				 if (!imgs["azwb_mtimage"]) {
				 toast("请重新拍摄门头照");
				 return;
				 }
				 if (!imgs["azwb_yjimage"]) {
				 toast("请重新拍摄远景照");
				 return;
				 }
				 if (!imgs["azwb_jjimage"]) {
				 toast("请重新拍摄近景照");
				 return;
				 }
				 /*if (!imgs["azwb_sxjwzimage1"]) {
				 toast("请重新拍摄摄像机位置1");
				 return;
				 }
				 if (!imgs["azwb_sxjwzimage2"]) {
				 toast("请重新拍摄摄像机位置2");
				 return;
				 }
				 if (!imgs["azwb_sxjwzimage3"]) {
				 toast("请重新拍摄摄像机位置3");
				 return;
				 }*/
				/*if (!(angularScope.azwb_qdwz)) {
				 toast("请填写屏取电位置");
				 return;
				 }
				 if (!imgs["azwb_qdwzimage"]) {
				 toast("请重新拍摄屏取电位置照片");
				 return;
				 }
				 if (!imgs["azwb_wljrdimage"]) {
				 toast("请重新拍摄网络接入点照片");
				 return;
				 }
				 if (angularScope.visa_whether) {
				 if (!getselectValue(visa_type)) {
				 toast("请选择签证类型");
				 return;
				 }
				 if (!(isDigit(angularScope.visa_num))) {
				 toast("请填写重新填写签证数量");
				 return;
				 }
				 if (!imgs["visa_image"]) {
				 toast("请重新拍摄签证照片");
				 return;
				 }
				 }*/
				/*if (!(isDigit(angularScope.azwb_jhjsl))) {
				 toast("请填写重新填写交换机数量");
				 return;
				 }*/
				/*if (!(isDigit(angularScope.azwb_sxjdy))) {
				 toast("请填写重新填写摄像机电源");
				 return;
				 }*/
				/*
				 if (!imgs["azwb_sxjdyimage2"]) {
				 toast("请重新拍摄像机电源照片2");
				 return;
				 }
				 if (!imgs["azwb_sxjdyimage3"]) {
				 toast("请重新拍摄像机电源照片3");
				 return;
				 }*/

				/*if (!(angularScope.azwb_kjtime)) {
				 toast("请填写时控开机时间");
				 return;
				 }
				 if (!(angularScope.azwb_gjtime)) {
				 toast("请填写时控关机时间");
				 return;
				 }
				 if (!getselectValue(azwb_wwjr)) {
				 toast("请选择外网接入");
				 return;
				 }
				 if (!getselectValue(azwb_nwjr)) {
				 toast("请选择内网接入");
				 return;
				 }
				 if (getselectValue(azwb_wwjr) == "商家wifi") {
				 if (!($("#wifi_name").val())) {
				 toast("请填写wifi账号");
				 return;
				 }
				 if (!($("#wifi_password").val())) {
				 toast("请填写wifi密码");
				 return;
				 }
				 }
				 if (!(isDigit(angularScope.azwb_sxj))) {
				 toast("请填写摄像机（含支架）");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_xsbxz))) {
				 toast("请填写线上保险座（含保险管）数量");
				 return;
				 }
				 if (!(isDigit(angularScope.poe))) {
				 toast("请填写POE分离器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_kgdy))) {
				 toast("请重新填写开关电源数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_ldkk))) {
				 toast("请填写漏电空开数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_jhj))) {
				 toast("请填写交换机");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_jx))) {
				 toast("请填写交换机箱数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_cp))) {
				 toast("请填写插排数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_ecjdq))) {
				 toast("请填写二次继电器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_yxlyq))) {
				 toast("请填写有线路由器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_wxlyq))) {
				 toast("请填写无线路由器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_lyqh))) {
				 toast("请填写路由器盒数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_sjkzq))) {
				 toast("请填写时间控制器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_dlm))) {
				 toast("请填写电力猫数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_dlmh))) {
				 toast("请填写电力猫盒数量");
				 return;
				 }
				 if (!(isDigit(angularScope.a3g))) {
				 toast("请填写3G网卡数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_gqsfq))) {
				 toast("请填写光纤收发器数量");
				 return;
				 }
				 if (!(isDigit(angularScope.azwb_gqsrqh))) {
				 toast("请填写光纤熔纤盒数量");
				 return;
				 }
				 if (!(isDigit(angularScope.modem_gq))) {
				 toast("请填写光纤Modem数量");
				 return;
				 }
				 if (!(isDigit(angularScope.modem_adsl))) {
				 toast("请填写ADSL Modem数量");
				 return;
				 }
				 if (!(isDigit(angularScope.bdef8))) {
				 toast("请填写实际吊装支架数量");
				 return;
				 }
				 if (!(isDigit(angularScope.bdef8))) {
				 toast("请填写实际加长装置数量");
				 return;
				 }
				 if (!imgs["azwb_qgimage"]) {
				 toast("请重新拍摄竣工图照片");
				 return;
				 }
				 if (!imgs["azwb_phxljrdimage"]) {
				 toast("请重新拍摄屏后线缆接入点");
				 return;
				 }
				 if (!imgs["azwb_sxjdyimage1"]) {
				 toast("请重新拍摄资产移交单");
				 return;
				 }

				 var datass = getData();
				 datass.is_temporary = "N";
				 console.log(datass);
				 doPost(adressHead.IInstallationImpl, "ConstructionCompleted", {
				 dataParm : datass
				 }, function(data) {
				 if (data.result == 1) {
				 UM.toast({
				 title : '友情提示：',
				 text : data.msg,
				 duration : 1000
				 });
				 setTimeout(function() {
				 summer.execScript({
				 winId : 'Constructionlist',
				 script : "rebind()"
				 });
				 summer.closeWin();
				 }, 1000);
				 } else {
				 UM.toast({
				 title : '友情提示：',
				 text : data.msg,
				 duration : 1000
				 });
				 }
				 }, function(err) {
				 UM.toast({
				 title : '友情提示：',
				 text : err.msg,
				 duration : 1000
				 });
				 });*/
				UM.toast({
					title : '友情提示：',
					text : "成功",
					duration : 1000
				});
			}

			var format = function(time, format) {
				var t = new Date(time);
				var tf = function(i) {
					return (i < 10 ? '0' : '') + i
				};
				return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function(a) {
					switch (a) {
					case 'yyyy':
						return tf(t.getFullYear());
						break;
					case 'MM':
						return tf(t.getMonth() + 1);
						break;
					case 'mm':
						return tf(t.getMinutes());
						break;
					case 'dd':
						return tf(t.getDate());
						break;
					case 'HH':
						return tf(t.getHours());
						break;
					case 'ss':
						return tf(t.getSeconds());
						break;
					}
				});
			}
			function scannerCode(id) {
				summer.openScanner({
					callback : function(args) {
						angularScope[id] = summer.getDeviceInfo().os == "ios" ? args : args.umdcode;
						$("#" + id).css("display", "none");
						angularScope.$apply();
					}
				});
			}

			/**
			 * 暂存数据
			 */
			function TemporarySave() {
				var datas = getData();
				datas.is_temporary = "Y";
				doPost(adressHead.IInstallationImpl, "ConstructionCompleted", {
					dataParm : datas
				}, function(data) {
					console.log(data);
					if (data.result == 1) {
						UM.toast({
							title : '友情提示：',
							text : data.msg,
							duration : 1000
						});
						setTimeout(function() {
							summer.execScript({
								winId : 'Constructionlist',
								script : "rebind()"
							});
							summer.closeWin();
						}, 1000);
					} else {
						UM.toast({
							title : '友情提示：',
							text : data.msg,
							duration : 1000
						});
					}
				}, function(err) {
					UM.toast({
						title : '友情提示：',
						text : err.msg,
						duration : 1000
					});
				});
			}

			/**
			 * 初始化
			 */
			function setData(jsondata) {
				console.log(jsondata);
				var defult = ["poe", "azwb_kgdy", "azwb_ldkk", "azwb_cp", "azwb_ecjdq", "azwb_yxlyq", "azwb_wxlyq", "azwb_sjkzq", "azwb_dlm", "azwb_dlmh", "a3g", "azwb_gqsfq", "azwb_gqsrqh", "modem_gq", "modem_adsl"];
				for (var s in jsondata) {
					if (s.indexOf("image") > 0) {
						if (jsondata[s] != "") {
							angularScope[s] = "data:image/jpeg;base64," + jsondata[s];
							imgs[s] = "data:image/jpeg;base64," + jsondata[s];
						} else {
							angularScope[s] = '../../img/myimg/camera.png';
						}
					} else {
						angularScope[s] = jsondata[s];
					}
					if (s == "equipment_no" || s == "mac" || s == "esn") {
						if (jsondata[s] != "") {
							$("#" + s).css("display", "none");
						}
					}
					if (jsondata[s] == "Y") {
						angularScope[s] = true;
					}
					if (jsondata[s] == "N") {
						angularScope[s] = false;
					}
					if (s == "install_date") {
						if (jsondata[s]) {
							angularScope[s] = new Date(Date.parse(jsondata[s].replace(/-/g, "/")));
						}
					}
					if (s == "installation_time" || s == "azwb_gjtime" || s == "azwb_kjtime") {
						if (jsondata[s]) {
							angularScope[s] = new Date(Date.parse(jsondata[s].replace(/-/g, "/")));
						}
					}
					if (s == "complete_state" || s == "visa_whether") {
						console.log(jsondata[s]);
						if (jsondata[s] == "") {
							angularScope[s] = true;
						}
					}
					if (s == "visa_type") {
						angularScope.visa_type = selectdatas;
						if (jsondata[s]) {
							console.log(getpk("pk_doc", jsondata[s]));
							$("#select3_dummy").val(getpk("pk_doc", jsondata[s]));
						} else {
							$("#select3_dummy").val("请选择");
						}
					}
					if (s == "bdef5") {
						$("#select1_dummy").val(jsondata[s]);
						if (jsondata[s] == "商家wifi") {
							$(".wifi").css("display", "block");
						}
					}
					if (s == "bdef6") {
						if (jsondata[s]) {
							var str = jsondata[s].split(",");
							$("#wifi_name").val(str[0]);
							$("#wifi_password").val(str[1]);
						}
					}
					if (s == "bdef7") {
						$("#select2_dummy").val(jsondata[s]);
					}
					angularScope.$apply();
				}
			}

			function getpk(pk, val) {
				for (var i = 0; i < selectdatas.length; i++) {
					var returnvalue = pk == "doc_name" ? "pk_doc" : "doc_name";
					if (selectdatas[i][pk] == val) {
						return selectdatas[i][returnvalue];
					}
				}
			}

			function visatype() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm : {
						dostype : "app017"
					}
				}, function(jsons) {
					selectdatas = jsons;
					angularScope.visa_type = jsons;
					angularScope.$apply();
					$("#select3_dummy").val("请选择");
				}, null, true);
			}


			$('.select').change(function() {
				$("#" + $(this).attr("id") + "_dummy").val($(this).find("option:selected").text());
				switch ($(this).attr("id")) {
				case "select3":
					$("#select3_dummy").val($(this).val());
					break;
				case "select1":
					if ($(this).find("option:selected").text() == "商家wifi") {
						$(".wifi").css("display", "block");
					} else {
						$(".wifi").css("display", "none");
					}
					break;
				}
			});

			function ensconce() {
				setTimeout(function() {
					if (angularScope.visa_whether) {
						$("#visa_type").css("display", "block");
						$("#visa_num").css("display", "block");
						$("#visa_images").css("display", "block");
					} else {
						$("#visa_type").css("display", "none");
						$("#visa_num").css("display", "none");
						$("#visa_images").css("display", "none");
					}
				}, 500);
			}

			var app = angular.module('myApp', []);
			app.controller('myCtrl', function($scope, $http) {
				timeIdex = new Date();
				$scope.install_date = new Date(timeIdex);
				$scope.installation_time = new Date(timeIdex);
				angularScope = $scope;
				angularScope.complete_state = true;
				angularScope.visa_whether = true;
				/**
				 * 默认为0
				 */

			});

			summerready = function() {
				var imglist;
				/*if (summer.pageParam) {
				 bodyid = summer.pageParam.bodyid;
				 billcode = summer.pageParam.billcode;
				 pageparam = summer.pageParam;
				 imglist = summer.pageParam.sxjsl1;
				 }
				 doPost(adressHead.ISjtzImpl, "getApdj", {
				 dataParm : {
				 billid :"1001A81000000000ZBNC"//bodyid
				 }
				 }, function(data) {
				 $(".wifi").css("display", "none");
				 if(imglist>0){
				 for (var i = 1; i <= imglist; i++) {
				 $("#azwb_sxjwzimages" + i).css("display", "block");
				 if (imglist > 3) {
				 $("#bdef1" + (imglist - (i + 3))).css("display", "block");
				 }
				 }
				 }
				 //visatype();
				 //setData(data.data);
				 }, function(err) {
				 console.log(err);
				 });*/
			}

		</script>
		<script src="../../js/Myjs/Common.js"></script>
	</body>
</html>